package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Product;
import cn.wolfcode.crm.qo.PageResult;
import cn.wolfcode.crm.qo.QueryObject;

import java.util.List;

public interface IProductService {
    void deleteByPrimaryKey(Long id);
    void saveOrUpdate(Product product);
    Product selectByPrimaryKey(Long id);
    List<Product> selectAll();
    //分页
   PageResult queryForList(QueryObject qo);
}
